package com.gjs.common.enums.entity;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import com.gjs.common.enums.IEntityEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum LibraryProjectTypeEnum implements IEntityEnum {
    @ApiModelProperty("图书")
    BOOK(1, "图书"),
    @ApiModelProperty("期刊")
    MAGAZINE(2, "期刊"),
            ;
    @EnumValue
    private final Integer code;
    @JsonValue
    private final String text;
}
